<%@ page session="true" import="de.htwg_konstanz.ebus.framework.wholesaler.api.bo.*"%>
<%@ page session="true" import="de.htwg_konstanz.ebus.framework.wholesaler.api.boa.*"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>eBusiness Framework Demo - Order List</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
</head>

<%@ include file="error.jsp" %>
<%@ include file="authentication.jsp" %>

<body>
<h1>Order List</h1>
<a href="welcome.jsp">Back</a><br/>

<hr/>
<table border="1">
	<tr>
		<td>Order Number</td>
		<td>Order Date</td>
	</tr>
	<c:forEach var="order" items="${sessionScope.orders}">
		<tr>
			<td><c:out value="${order.orderNumber}"></c:out></td>
			<td><c:out value="${order.orderDate}"></c:out></td>
		</tr>
	</c:forEach>

</table>
<hr>
</body>
</html>
